package com.cloudbroker.bcs.platform.dav.middle.service;

import com.cloudbroker.bcs.common.service.base.ServiceBase;
import com.cloudbroker.bcs.platform.dav.middle.entity.BrokerFinance;
import com.cloudbroker.bcs.platform.dav.middle.entityexample.BrokerFinanceQueryCondition;
import com.cloudbroker.bcs.platform.dav.middle.entityview.VoteRecordListView;

import java.util.Date;
import java.util.List;

/**
 * Created by zhaojp18008 on 2017/1/3.
 */
public interface ZXBrokerFinanceService  extends ServiceBase<BrokerFinance, Long> {
    BrokerFinance findTodayImport(Integer tenant_id, Long broker_id, Date today);
    List<BrokerFinance> findFinanceList(Integer tenant_id, Date today);
    Date getLastImportTime(Integer tenantId);
    List<VoteRecordListView> getFinanceOrderList(BrokerFinanceQueryCondition condition);
}
